package com.xxs.controller.admin;

import com.jfinal.core.Controller;
import com.xxs.model.Resource;

/**
 * Created with IntelliJ IDEA.
 */
//@Before(AdminInterceptor.class)
public class ResourceController extends Controller {

    public void list(){
    	setAttr("resourceList", Resource.dao.findByParentId(0));
    	render("resource/list.ftl");
    }
}
